//
//  YRJAdviceNewsCollectionViewCell.m
//  YanRenjie
//
//  Created by dllo on 15/10/27.
//  Copyright (c) 2015年 yanrenjie. All rights reserved.
//

#import "YRJAdviceNewsCollectionViewCell.h"
#define WIDTH self.contentView.frame.size.width
#define HEIGHT self.contentView.frame.size.height

@implementation YRJAdviceNewsCollectionViewCell
- (void)dealloc {
    [_myButton release];
    
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        self.myButton = [UIButton buttonWithType:UIButtonTypeSystem];
        self.myButton.frame = CGRectMake(0, 0, 75, 30);
        [self.contentView addSubview:self.myButton];
        self.myButton.backgroundColor = [UIColor orangeColor];
        self.myButton.layer.borderWidth = 1;
    }
    return self;
}
@end
